<template>
  <div>
    <a-button v-preventReClick class="nbcs-btn-main-bg" @click="ok">
      {{btnName}}
    </a-button>
  </div>
</template>

<script>
export default {
  props: {
    btnName: {
      type: String,
      default: '确定'
    },
  },
  name: "debounceButton",
  methods: {
    ok() {
      this.$emit("ok");
    }
  }
};
</script>

<style scoped></style>
